package com.lam.common.components.captcha.service;


import com.lam.common.components.captcha.enums.CaptchaCategoryEnum;
import com.lam.common.components.captcha.enums.CaptchaTypeEnum;
import com.lam.common.components.captcha.model.CaptchaInfo;

public interface CaptchaService {

	CaptchaInfo genCode(String username);

	boolean checkCode(String username, String category, Object codeInfo);

	CaptchaTypeEnum getCaptchaType(CaptchaCategoryEnum captchaCategory);

}
